package com.yaorange.teaching.mapper;

import java.util.List;
import com.yaorange.teaching.domain.YaKnowledgePoints;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
 * 高频面试题Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-03
 */
public interface YaKnowledgePointsMapper extends BaseMapper<YaKnowledgePoints>
{
    /**
     * 查询高频面试题
     *
     * @param id 高频面试题主键
     * @return 高频面试题
     */
    public YaKnowledgePoints selectYaKnowledgePointsById(Long id);

    /**
     * 查询高频面试题列表
     *
     * @param yaKnowledgePoints 高频面试题
     * @return 高频面试题集合
     */
    public List<YaKnowledgePoints> selectYaKnowledgePointsList(YaKnowledgePoints yaKnowledgePoints);

    /**
     * 新增高频面试题
     *
     * @param yaKnowledgePoints 高频面试题
     * @return 结果
     */
    public int insertYaKnowledgePoints(YaKnowledgePoints yaKnowledgePoints);

    /**
     * 修改高频面试题
     *
     * @param yaKnowledgePoints 高频面试题
     * @return 结果
     */
    public int updateYaKnowledgePoints(YaKnowledgePoints yaKnowledgePoints);

    /**
     * 删除高频面试题
     *
     * @param id 高频面试题主键
     * @return 结果
     */
    public int deleteYaKnowledgePointsById(Long id);

    /**
     * 批量删除高频面试题
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYaKnowledgePointsByIds(Long[] ids);
}
